package Cani;

import Joc.Joc;

public  abstract class Operator {
	public boolean use=false;
	public int c1=Integer.parseInt(Joc.getJocinstance().getInitialvalue().get(0));
	public int c2=Integer.parseInt(Joc.getJocinstance().getInitialvalue().get(1));
	public boolean condition(Nod n){return false;};
	public Nod action(Nod n){return n;};
	public int getMaxCapacityC1(){return this.c1;}
	public int getMaxCapacityC2(){return this.c2;}
	public void setMaxCapacityC1(int c1){
		this.c1=c1;
	}
	public void setMaxCapacityC2(int c2){
		this.c2=c2;
	}
	
}
